﻿using AutoGenTool.Core;
namespace AutoGenTool
{
    internal class Program
    {
        static void Main(string[] args)
        {
            var useCache = false;
            var projectRoot = @"E:\Projects\AutoGenTool\TestConsole\";

            var config = new AutoGenConfig()
            {
                CacheLocation = "./obj/cache.autogen.db",
                
                ProjectRoot = projectRoot,
                
                IgnoreDir = [
                    "./bin",
                    "./obj"],

                GenCodeDir = "./AutoGen",

                UseCache = useCache,
            };
            var processor = new MyProcessor(config);

            processor.Process();
        }
    }
}
